<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link  rel="stylesheet" type="text/css" href="css/style.css"/>
		<link  rel="stylesheet" type="text/css" href="css/work.css"/>
		<link rel="stylesheet" href="css/guanzhu.css"/>
		<link rel="stylesheet" href="css/my.css"/>
		<link rel="stylesheet" href="css/shenqing.css"/>
		<link rel="stylesheet" href="css/shine.css"/>
		<link rel="stylesheet" href="css/wo.css"/>
		<link rel="stylesheet" href="css/xihuan.css"/>
		<link rel="stylesheet" href="libs/bootstrap.min.css"/>
		<script type="text/javascript" src="libs/jquery-3.1.1.js"></script>
		<script src="libs/bootstrap.min.js"></script>
		<script type="text/javascript" src="libs/angular.js"></script>
		<script type="text/javascript" src="libs/angular-ui-router.js"></script>
		<script  src="work/work.js"></script>
		<script src="shine/index.js"></script>
		<script src="wo/style.js"></script>
	</head>
	<body ng-app="myApp">
		<div ui-view></div>
		<div class="head">
			<div ng-bind="msg" class="title"></div>
			<!--<ul>-->
				<!--<li ng-repeat="(index,obj) in arr"  ng-click="list(index)">-->
					<!--<a ui-sref="/" ng-bind="obj.name"></a>-->
				<!--</li>-->
			<!--</ul>-->
			<ul>
				<li><a ui-sref="/" >作品</a></li>
				<li><a ui-sref="/" >征集</a></li>
				<li><a ui-sref="/shine" >闪传</a></li>
				<li><a ui-sref="/" >订单</a></li>
				<li><a ui-sref="/wo" >我的</a></li>
			</ul>
		</div>
	</body>
	<script type="text/javascript">
		angular.module('myApp',['ui.router','mywork','s','wo'])
                .config(['$stateProvider','$urlRouterProvider',function($stateProvider,$urlRouterProvider){
                    $urlRouterProvider.otherwise('/');
                    $stateProvider.state('/',{
                        url:"/",
                        templateUrl:"work/work.html",
                        controller:"workCtrl"
                    }).state('/shine',{
						url:"/shine",
						templateUrl:"shine/index.html",
						controller:"shineCtrl"
					}).state('/wo',{
						url:"/wo",
						templateUrl:"wo/index.html",
						controller:"WoCtrl"
					})
		}])
//		.controller('myCtrl',function($scope,$http){
//			$scope.msg = '作品';
//			$http.get('json/pic.json').then(function(data){
//				$scope.arr = data.data.tag;
//				$scope.list = function(index){
//					$('.head ul li').eq(index).css({
//						background:'#000',
//						borderRadius:"16px"
//						}).siblings().css('background','');
//				}
//			})
//		})

	</script>
</html>
